package com.szly.phm.common.entity.dto.permission;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description : ${创建类}
 * @Author : chengjiang
 * @Date: 2021/7/6 10:35
 */
@Data
public class CreatePermissionDTO {

    @ApiModelProperty(value = "权限名称",required = true)
    @NotBlank(message = "权限名称不能为空")
    private String label;

//    @ApiModelProperty(value = "权限父Id")
//    private String permissionPid;

//    @ApiModelProperty(value = "图标类型")
//    private String iconType;
@ApiModelProperty(value = "页面地址",required = true)
@NotBlank(message = "页面地址不能为空")
private String actionUrl;

    @ApiModelProperty(value = "标识",required = true)
    @NotBlank(message = "标识")
    private String router;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "父级id")
    private String permissionPid;

    @ApiModelProperty(value = "页面类型00菜单01页面")
    private String type;
}
